package com.ctshk.rpc.localfun.req;

import com.ctshk.common.req.MainData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/3/23
 */
@Data
public class LocalFunProductSaveReq implements Serializable {

    @NotNull
    private String id;

    @ApiModelProperty(value = "开售时间类型(1 立即开售,2 定时开售)")
    private Integer startSaleTimeType;

    @ApiModelProperty(value ="开售时间起始")
    private LocalDate startSaleTimeBegin;

    @ApiModelProperty(value = "开售时间结束")
    private LocalDate startSaleTimeEnd;

    @ApiModelProperty(value = "预订确认(1 立即确认,2 二次确认)")
    private Integer bookConfirm;

    @ApiModelProperty(value = "取消政策(1 限时取消,2 不退不改)")
    private Integer cancelPolicy;

    @ApiModelProperty(value = "预订退改须知")
    private String customerNotice;

    @ApiModelProperty(value = "预订服务费类型")
    private Integer reserveChargeType;

    @ApiModelProperty(value = "预订服务费")
    private BigDecimal reserveCharge;

    @ApiModelProperty(value = "中旅退改费用类型")
    private Integer ctsChargeType;

    @ApiModelProperty(value = "中旅退改服务费")
    private BigDecimal ctsCharge;

    @ApiModelProperty(value = "是否需要填写证件信息")
    private Integer needInfo;

    @ApiModelProperty(value = "限定證件類型")
    private String certificateTypeIds;

    @ApiModelProperty(value = "證件字典信息")
    private List<MainData> mainData;

}
